package calcsdk;

import java.io.File;

/**
 *
 * @author Develop
 */
public interface ITree {

    int InitSygnal();

    int InitPorog(float por);

    int InitStartMode(char mode);

    int InitMode(char m);

    int InitWriteFile(char m);

    int InitControlFict(boolean m);

    int StartWriteSim(File handle, String name);

    int StartReadSim(File handle, String name);

    int StopSim(File handle);

    int FileWriteMar(File handle, BinMar marshrut, int cnt_marshrut, float porog);

    int FileReadMar(File handle, BinMar marshrut, int cnt_marshrut);

    int FileReadSizePor(File handle, int cnt_marshrut, float porog);

//int     SaveTable(s_table_res* tab, int* size);
    int CalckRabotaPlus(BinVer mar, int cnt, int i_start, float rab);

    int CalckRabotaMinus(BinVer mar, int cnt, int i_start, float rab);

    int CalkLength(BinVer mar, int cnt, int i_start, float len);
}
